<?php
/**
 * Created by PhpStorm.
 * User: yxs
 * Date: 2017/4/18
 * Time: 11:32
 */

namespace validate;
use think\Validate;

class AdminLog extends Validate
{
    protected $rule = [
        "admin_id" => "require",
        "os" => "require",
        "browser"=>"require",
        "url"=>"require",
    ];

    protected $message = [
        "admin_id.require"=>"未知的管理员",
        "os.require"=>"未知的操作系统",
        "browser.require"=>"未知的浏览器",
        "url.require"=>"未知的请求地址"
    ];
}